package com.hello.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "收到的评论数据格式")
public class CommentsVO implements Serializable {
    @ApiModelProperty("用户昵称")
    private String userName;
    @ApiModelProperty("用户头像")
    private String headshotUrl;
    @ApiModelProperty("评论时间")
    private LocalDateTime commentTime;
    @ApiModelProperty("评论内容")
    private String text;
    @ApiModelProperty("图片")
    private String imageUrl;
}
